<template>
    <div>
        <!-- <mt-header title="客户建卡" :class="$style.bgColor">
            <router-link to="/" slot="left">
                <mt-button icon="back" :class="$style.fontStyle">返回</mt-button> 
            </router-link>
            <mt-button slot="right">分享</mt-button>
        </mt-header> -->
        <sh-header :title="title" :left="left" :right="right" @doSth="doSth"></sh-header>
    </div>

</template>


<script>
    import ShHeader from "@/components/ShHeader"
    export default {
        name: "NewCards",
        data() {
            return {
               title:"客户新建",
               right:{
                   name:"张三",
                   icon:"search"
               },
               left:{
                   to:"/list?name='zs'",
                   name:"回家"
               }
            };
        },
        created() {

        },
        components:{
            ShHeader
        },
        methods:{
            doSth:function(){
                console.log('doSth')
            }
        }
    };

</script>

<style lang="scss" module>
    @import '../../scss/index.scss';
    .bgColor {
        background-color: $white;
        color:$defaultColor;
        .fontStyle{
             color: $activeColor;
        };

    };
   

        
    
</style>